package com.kingre.et.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import com.kingre.et.model.School;

public interface IDisSchoolReportService {
    public School getSchoolByUser(Integer userId);
    public School getSchoolById(Integer id);
    public Map<String, String> getSchoolUserResource(School school);
    public Map<String, Double> getSchoolAVG(School school);
    public Map<String, List<Map<String, String>>> getLevelPercent(School school);
    public Map<String, String> createChart(Map<String, List<Map<String, String>>> level,
            String[] levelName, String[] titleName) throws IOException;
    public List<Map<String, Double>> getWeakness(Map<String, Double> avgData, boolean isAsc);
    public Double getAllAVG(School school);
}
